package com.danhuang.cloud.danhuangcore.entity;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @author huangwubin
 */
@Data
public class UserInfoDTO implements Serializable {

    private static final long serialVersionUID = -3103297882294399383L;


    @NotBlank(message = "openId不能为空")
    private String openId;

    /**
     *
     */
    private String nickName;

    /**
     *
     */
    private String gender;

    /**
     *
     */
    private String avatarUrl;

    /**
     *
     */
    private String country;

    /**
     *
     */
    private String province;

    /**
     *
     */
    private String city;

    /**
     *
     */
    private String language;
}
